package com.kai.steering.exception;

import com.kai.steering.data.service.databus.enums.CanUsedExceptionEnum;
import lombok.Data;
import lombok.ToString;

/**
 * 使用异常
 */
@Data
@ToString
public class CanUsedException  extends RuntimeException {
    private CanUsedExceptionEnum canUsedExceptionEnum;
    private Object data;
    private Exception information;
    public CanUsedException(CanUsedExceptionEnum canUsedExceptionEnum,Object data ){
        this.canUsedExceptionEnum=canUsedExceptionEnum;
        this.data=data;
    }
}
